package tutorial.java.swing;

import javax.swing.JFrame;
import javax.swing.JLabel;

public class HelloWorld extends JFrame{
	public HelloWorld(){
		setSize(400, 300);
		setVisible(true);
		setLocation(500, 300);
		setResizable(false);
		JLabel label = new JLabel("Hello World");
		add(label);
	}
	
	public static void main(String[] args){
		HelloWorld helloWorld = new HelloWorld();
	}
}
